package com.hsgene.authority.dto;

import java.io.Serializable;

/**
 * @author wangbing
 * @version 1.0, 2018/11/12
 */
public class ClientRequestApi implements Serializable {
    private static final long serialVersionUID = -5969330471276540846L;
    private String requestUri;

    private String requestMethod;

    public ClientRequestApi() {
    }

    public ClientRequestApi(String requestUri, String requestMethod) {
        this.requestUri = requestUri;
        this.requestMethod = requestMethod;
    }

    public String getRequestUri() {
        return requestUri;
    }

    public void setRequestUri(String requestUri) {
        this.requestUri = requestUri;
    }

    public String getRequestMethod() {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod;
    }

    @Override
    public String toString() {
        return requestMethod + " " + requestUri;
    }
}
